package com.club.subject.convert;

import com.club.subject.domain.entity.SubjectCategoryBO;
import com.club.subject.dto.SubjectCategoryDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryDTOConverter {
    SubjectCategoryDTOConverter INSTANCE = Mappers.getMapper(SubjectCategoryDTOConverter.class);

    SubjectCategoryBO convertDtoToCategoryBO(SubjectCategoryDTO dto);
    List<SubjectCategoryDTO> convertCategoryBOListToCategoryDTOList(List<SubjectCategoryBO> categoryBOList);
}
